{% extends "tracking/tracking_base.html" %}
{% block title %}申请详情{% endblock %}
{% block page_content %}

<h1 class="page-header">外部申请</h1>
<div class="col-md-12">
	<div class="col-md-12" style="background-color:#F2F2F2;height:40px;line-height:40px;font-size:20px;">申请信息</div>
	<div class="col-md-8">
		<div style="margin-top:10px;">
	    		<div class="col-md-2" style="font-size:20px;"><center>ID</center></div>
	    		<div class="col-md-5" style="font-size:20px;">{{ data.number }}</div>
		</div>
	</div>
	<div class="col-md-8">
		<div style="margin-top:15px;">
	    		<div class="col-md-2" style="font-size:20px;"><center>车辆详情</center></div>
	    		<div class="col-md-5" style="font-size:20px;">{{ data.car_title|safe}}</div>
		</div>
	</div>
	<div class="col-md-8">
		<div style="margin-top:15px;">
	    		<div class="col-md-2" style="font-size:20px;"><center>提交时间</center></div>
	    		<div class="col-md-5" style="font-size:20px;">{{ data.submission_date.strftime("%Y-%m-%d %H:%M:%S") }}</div>
		</div>
	</div>
	<div class="col-md-8">
		<div style="margin-top:15px;">
	    		<div class="col-md-2" style="font-size:20px;"><center>申请人</center></div>
	    		<div class="col-md-5" style="font-size:20px;">{{ data.name }}</div>
		</div>
	</div>
	<div class="col-md-8">
		<div style="margin-top:15px;">
	    		<div class="col-md-2" style="font-size:20px;"><center>申请电话</center></div>
	    		<div class="col-md-5" style="font-size:20px;">{{ data.phone }}</div>
		</div>
	</div>
	<div class="col-md-8">
		<div style="margin-top:15px;">
	    		<div class="col-md-2" style="font-size:20px;"><center>地区</center></div>
	    		<div class="col-md-5" style="font-size:20px;">{{ data.area }}</div>
		</div>
	</div>
	<div class="col-md-8">
		<div style="margin-top:15px;">
	    		<div class="col-md-2" style="font-size:20px;"><center>申请备注</center></div>
	    		<div class="col-md-5" style="font-size:20px;">{{ data.mark if data.mark else '无' }}</div>
		</div>
	</div>
	<div class="col-md-12" style="background-color:#F2F2F2;height:40px;line-height:40px;font-size:20px;margin-top:20px;">发布信息
	</div>
	<div class="col-md-8">
		<div style="margin-top:10px;">
	    		<div class="col-md-2" style="font-size:20px;"><center>发布人</center></div>
	    		<div class="col-md-5" style="font-size:20px;">{{ owner.name }}</div>
		</div>
	</div>
	<div class="col-md-8">
		<div style="margin-top:15px;">
	    		<div class="col-md-2" style="font-size:20px;"><center>发布时间</center></div>
	    		<div class="col-md-5" style="font-size:20px;">{{ car.submission_date.strftime("%Y-%m-%d %H:%M:%S") }}</div>
		</div>
	</div>
	<div class="col-md-8">
		<div style="margin-top:15px;">
	    		<div class="col-md-2" style="font-size:20px;"><center>发布人电话</center></div>
	    		<div class="col-md-5" style="font-size:20px;">{{ owner.phone }}</div>
		</div>
	</div>
</div>
{% endblock %}
{% block scripts %}
{{ super() }}
<script>
    nav = document.getElementById("nav_track");
    nav.setAttribute("class", "active");
</script>
{% endblock %}
